<p id="notice"><%= notice %></p>

<h2></h2>

<table class="table">
  <thead>
    <tr>
      <th>ID</th>
      <th>工号</th>
      <th>姓名</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @users.each do |user| %>
      <tr>
        <td><%= user.id %></td>
        <td><%= user.number %></td>
        <td><%= user.name %></td>
        <td><%= link_to '修改密码', edit_user_path(user) %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New User', new_user_path %>

